/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb.warehouse;

import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author ciummo
 */
@Remote
public interface OrdineFacadeRemote {

    void create(Ordine ordine);

    void edit(Ordine ordine);

    void remove(Ordine ordine);

    Ordine find(Object id);

    List<Ordine> findAll();

    List<Ordine> findRange(int[] range);

    int count();
    
    Ordine findOrdineById (int idOrder);

    public java.util.List<ejb.warehouse.Ordine> findOrdiniByStato(java.lang.String state);
    
}
